package com.asiainfo.entity;

import java.util.Date;

public class News {
    private int id;
    private String title;
    //private Category category;
    private int categoryId;
    private User publishUser;
    private Date time;
    private String key;
    private int num;
    private String content;
    private int canComm;//0是不能评论，1能评论
    private int isSure;//0是未审核，1是已经审核
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getTitle() {
		return title;
	}
	public void setTitle(String title) {
		this.title = title;
	}
	
	public User getPublishUser() {
		return publishUser;
	}
	public void setPublishUser(User publishUser) {
		this.publishUser = publishUser;
	}
	public int getCategoryId() {
		return categoryId;
	}
	public void setCategoryId(int categoryId) {
		this.categoryId = categoryId;
	}
	
	public Date getTime() {
		return time;
	}
	public void setTime(Date time) {
		this.time = time;
	}
	public String getKey() {
		return key;
	}
	public void setKey(String key) {
		this.key = key;
	}
	public int getNum() {
		return num;
	}
	public void setNum(int num) {
		this.num = num;
	}
	public String getContent() {
		return content;
	}
	public void setContent(String content) {
		this.content = content;
	}
	public int getCanComm() {
		return canComm;
	}
	public void setCanComm(int canComm) {
		this.canComm = canComm;
	}
	public int getIsSure() {
		return isSure;
	}
	public void setIsSure(int isSure) {
		this.isSure = isSure;
	}
    
}
